package com.tc.service;

import com.tc.OrderDto.Order;
import com.tc.dto.Result;

import javax.servlet.http.HttpServletRequest;

public interface OrderService {
    //新增订单
    Result addOrder(Order order, HttpServletRequest request);
    //获取所有用户订单
    Result getAllOrder(HttpServletRequest request);
    //删除订单
    Result deleteOrder(Order item, String orderNumber, HttpServletRequest request);
}
